package cn.stylefeng.guns.goodsdetail.entity;

import cn.stylefeng.guns.core.pojo.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * goods_detail
 *
 * @author aria
 * @date 2021/02/20 20:24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("goods_detail")
public class GoodsDetail extends BaseEntity {

    /**
     * 配图编号
     */
    @TableId(value = "desc_id" ,type = IdType.AUTO)
    private Integer descId;

    /**
     * 商品编号
     */
    @TableField("goods_id")
    private Integer goodsId;

    /**
     * 图片地址
     */
    @TableField("desc_url")
    private String descUrl;

}
